﻿
namespace TotalSystems.DataAccess.Store
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Data.Objects.DataClasses;
    using System.Linq;
    //using System.ServiceModel.DomainServices.Hosting;
    //using System.ServiceModel.DomainServices.Server;


    // The MetadataTypeAttribute identifies STR_TypeStoreMetadata as the class
    // that carries additional metadata for the STR_TypeStore class.
    [MetadataTypeAttribute(typeof(STR_TypeStore.STR_TypeStoreMetadata))]
    public partial class STR_TypeStore
    {

        // This class allows you to attach custom attributes to properties
        // of the STR_TypeStore class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class STR_TypeStoreMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private STR_TypeStoreMetadata()
            {
            }

            public short ACC_Fy_ID_fk { get; set; }

            public int PUB_User_ID_fk { get; set; }

            public EntityCollection<STR_Store> STR_Store { get; set; }

            public bool STR_Ts_Active { get; set; }

            public string STR_Ts_DeleteDate { get; set; }

            public decimal STR_Ts_ID { get; set; }

            public bool STR_Ts_IsExpand { get; set; }

            public string STR_Ts_ModifyDate { get; set; }

            public string STR_Ts_Name { get; set; }

            public string STR_Ts_Note { get; set; }

            public Nullable<int> STR_Ts_Parent_ID_fk { get; set; }

            public string STR_Ts_Temp { get; set; }

            public Nullable<short> STR_Ts_Type { get; set; }
        }
    }
}
